<?php

namespace App\Models;

class Product extends Base
{
    /**
     * 镜头组（一对一关系）
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function footage() {
        return $this->belongsTo(Footage::class);
    }
    
    /**
     * 文案（一对一关系）
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function papper() {
        return $this->belongsTo(Papper::class);
    }
}
